<div class="searchForm">
{control search}
</div>

<script type="text/javascript">
    var userSearchTimeout;

    $("#albireo-acl-search-input").keyup(function() {
        clearTimeout(userSearchTimeout);
        userSearchTimeout = setTimeout(function(){
            $.getJSON(
                {link default! },
                {'search': $('#albireo-acl-search-input').val()},
                function(payload) {

                    //rendering snippets
                    $.nette.success(payload);

                    //rendering buttons
                    $("a.button").button();
                    $("button").button();
                }
            );
        },500);

    });
</script>